package com.panshi.mapper;

import com.panshi.bean.PageUtil;
import com.panshi.bean.SearchBean;
import io.swagger.annotations.ApiOperation;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@Mapper
public interface SearchMapper {
    public List<SearchBean> searchData(PageUtil pu);//关键词搜索问题
    public int searchTotal(PageUtil pu);//相关总数.

    public List<SearchBean> hostSearch();//热搜排行
}
